package org.spider.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzy
 * @since 2022-06-02 15:36:47
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("spider_manage_ip")
@ApiModel(value = "SpiderManageIpEntity对象", description = "")
public class SpiderManageIpEntity extends Model<SpiderManageIpEntity> {

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
